import { ApiProperty } from '@nestjs/swagger';


export class LoginDto {
  @ApiProperty({
    required: true,
    description: '用户名',
    example: 'username'
  })
  username: string;

  @ApiProperty({
    required: true,
    description: '密码',
    example: '123456'
  })
  password: string;
}
